 /*
  *Copyright (c) 2003, 2018, UMF and/or its affiliates. All rights reserved.
  *
  */
 package com.leeler.controller;

 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RestController;

 /**
  * @program: demo
  * @description: TODO
  * @author: lile
  * @create: 2019-08-21 18:16
  **/
 @RestController
 public class AccountController {

     @GetMapping("/account/{userId}")
     public String queryUserAccount(@PathVariable("userId") String userId) {
         Long balance = Long.parseLong(userId) << 4;
         return balance.toString();
     }
 }
